echo %cd%
cd demo-web
call yarn install -D
call yarn build --dest ../demo-server/dist
cd..
call del  /f /s /q release\*.*
call rd /q /s release\
mkdir release
call xcopy demo-server  /e /s /a /y /exclude:exclude.txt release\demo-server\
call xcopy localdb  /e /s /a /y /exclude:exclude.txt release\localdb\
call cd release
call tar -zcvf release.tar.gz  demo-server localdb
pause
call cd demo-server
call yarn install --production
call cd ..
call rar a update.rar -r -as  demo-server localdb


